
class PassengerPresenter:
    def __init__(self, data, aid_data=None):
        self.data = data
        self.aid_data = aid_data

    def as_dict(self):
        return {
            "id": self.data.id,
            "account": self.data.account,
            "name": self.data.name,
            "idCardNo": self.data.id_card_no,
            "mobileNo": self.data.mobile_no,
            "bankCardNo": self.data.bank_card_no,
            "state": self.data.state,
            "memberType": self.data.member_type
        } | self.aid_data
